<?php
    $tablename = "badge_id";
  $server = "localhost";
  $username = "root";
  $password = "admin";
  $database = "badge";
  
  $con = mysqli_connect($server, $username, $password, $database) or die("Some error occurred during connection " . mysqli_error($con));
?>